package cn.iocoder.yudao.module.comment.controller.admin.comment1.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 旅游线路评论分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommentPageReqVO extends PageParam {

    @Schema(description = "评论ID（主键）", example = "18920")
    private Long commentId;

    @Schema(description = "线路ID（外键）", example = "30498")
    private Long routeId;

    @Schema(description = "用户ID（外键）", example = "1265")
    private Long userId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "评分（1-5分，0:未评分）")
    private Integer score;

    @Schema(description = "评论时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] commentTime;

    @Schema(description = "是否好评（1:是，0:否）")
    private Integer isPositive;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}